package uz.rt.utils;

import java.util.ArrayList;

/**
 * The Dimension class defines one or more dimensions.
 * @see Coordinate
 */
public class Dimension<T extends Comparable<? super T>> extends Coordinate<T>
{
    /**
     * Constructor initialises a set of dimensions
     * The default number is defines by its super class Coordinate
     */
    public Dimension()
    {
        super();
    }

    /**
     * Constructor initialises a set of dimensions
     * @param dimensions number of dimensions
     */
    public Dimension(final int dimensions)
    {
        super(dimensions);
    }

    /**
     * Constructor initialises a set of dimensions
     * @param list a list of all dimensions
     */
    public Dimension(final ArrayList<T> list)
    {
        super(list);
    }
}
